package com.lili.pojo;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName tbl_classes
 */
@Data
@ApiModel("编班实体类")
@TableName("tbl_classes")
public class Classes implements Serializable {
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 编班名称
     */
    @TableField("classes_name")
    private String classesName;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 创建人
     */
    @TableField("create_user")
    private Integer createUser;

    /**
     * 是否删除
     */
    @TableField("deleted")
    private Integer deleted;

    private static final long serialVersionUID = 1L;
}